				<div class="section">
					<!--[if !IE]>start title wrapper<![endif]-->
					<div class="title_wrapper">
						<span class="title_wrapper_top"></span>
						<div class="title_wrapper_inner">
							<span class="title_wrapper_middle"></span>
							<div class="title_wrapper_content">
								<h2 class="menu_title">Links exchange</h2>
							</div>
						</div>
						<span class="title_wrapper_bottom"></span>
					</div>
					<!--[if !IE]>end title wrapper<![endif]-->
					
					<!--[if !IE]>start section content<![endif]-->
					<div class="section_content">
						<span class="section_content_top"></span>
						<div class="section_content_inner">
                        	<div class="table_tabs_menu">
							<!--[if !IE]>start  tabs<![endif]-->
							<!--[if !IE]>end  tabs<![endif]-->
							</div>
				<!--[if !IE]>start table_wrapper<![endif]-->
							<div class="table_wrapper" style="background:none;">
								<div class="table_wrapper_inner">
                                	<div class="error_red"><?php if(isset($error)) { echo "<p>".$error."</p>"; } ?></div>
									<form action="<?php echo base_url()?>admin/links/updatesub/<?php echo $link['cont_id']; ?>" method="post" name="sac" onSubmit="return checkuser()">
                            		<div class="form_items">
                                    	<div class="form_items_left">Link title</div>
                                        <div class="form_items_right"><input name="cont_title" type="text" value="<?php echo $link['cont_title']; ?>" size="35"></div>
                                    </div>
                                    <div class="form_items">
                                        <div class="form_items_left">Link</div>
                                        <div class="form_items_right">
                                            <input type="text" name="cont_link" value="<?php echo $link['cont_link']; ?>" size="35" />
                                        </div>
                                    </div>
                                    <div class="form_items">
                                        <div class="form_items_left">Select category</div>
                                        <div class="form_items_right">
                                        <select name="content_id" id="">
                                        <?php
										foreach($category as $items){
											echo "<option value='".$items['content_id']."'>".$items['content_title']."</option>";
										}
										?>
                                        </select>
                                        </div>
                                    </div>
                                    <div class="form_items">
                                    	<div class="form_items_left">Link value</div>
                                        <div class="form_items_right">
                                        <?php 
										$fck = new FCKeditor('cont_info');
										$fck->BasePath = sBASEPATH;
										$fck->Value  = $link['cont_info'];
										$fck->Width  = '100%';
										$fck->Height = 400;
										$fck->Create();
									   ?> 
                                        </div>
                                    </div>
                                    <div class="form_items">
                                    	<div class="form_items_left">&nbsp;</div>
                                        <div class="form_items_right"><input type="submit" name="ok" value="Edit Now" class="padding"  />
                                        <input type="reset" value="Nhập lại" class="padding"  />
                                        </div>
                                    </div>
                                </form>
								</div>
							</div>
							<!--[if !IE]>end table_wrapper<![endif]-->
						</div>
						<span class="section_content_bottom"></span>
					</div>
					<!--[if !IE]>end section content<![endif]-->
				</div>